{*
  Komanda
*}
program Komanda;
uses
  Forms,
  SysUtils,
  Core_FileOperaions in 'Core_FileOperaions.pas',
  Core_Types in 'Core_Types.pas',
  Core_PluginsEngine in 'Core_PluginsEngine.pas',
  Interface_MainWnd in 'Interface_MainWnd.pas' {WndMain},
  Interface_SelectDrive in 'Interface_SelectDrive.pas' {WndSelectDisk},
  Core_SettingsEngine in 'Core_SettingsEngine.pas',
  Interface_DebugConfig in 'Interface_DebugConfig.pas' {Debug_Config},
  Interface_Progress in 'Interface_Progress.pas' {WndProgress},
  Interface_SelectView in 'Interface_SelectView.pas' {WndSelectView},
  Interface_Console in 'Interface_Console.pas' {WndConsole};

begin
  ChDir(ExtractFileDir(Application.ExeName));

  LoadConfig;

  Application.Initialize;
  Application.CreateForm(TWndMain, WndMain);
  Application.CreateForm(TWndSelectDisk, WndSelectDisk);
  Application.CreateForm(TDebug_Config, Debug_Config);
  Application.CreateForm(TWndProgress, WndProgress);
  Application.CreateForm(TWndSelectView, WndSelectView);
  Application.CreateForm(TWndConsole, WndConsole);
  LoadPlugins;
  
  Application.Run;

  SaveConfig;
end.
